package com.lm;

import java.util.ArrayList;

/**
 *
 * @author Sajarwo Anggai
 */
public class LayerContainer {

    private ArrayList layerContainer;
    private ArrayList <String>layerMapping;

    public LayerContainer() {
        layerContainer = new ArrayList();
        layerMapping = new ArrayList<String>();
    }

    public void addLayer(String name, boolean show) {
        layerContainer.add(new LayerManager(name, show));
        layerMapping.add(name);
    }

    public ArrayList getLayers() {
        return layerContainer;
    }

    public ArrayList getLayersMapping() {
        return layerMapping;
    }
}
